// hack at-list
.at-list-item.branch-item {
  height: 80px;
  margin: 0 15px;
  .at-list-item-right {
    width: 397px;
    @media screen and (max-width: 1000px) {
      width: 236px;
    }
    justify-content: flex-end;
    &-item:first-child {
      width: 144px !important;
      @media screen and (max-width: 1000px) {
        display: none;
      }
    }
    &-item:last-child {
      display: block;
      width: 236px !important;
      overflow: hidden;
    }
  }
  &:last-child {
    .at-list-item-body,
    .at-list-item-right {
      border-bottom: none;
    }
  }

  .uiless-build {
    position: relative;
    top: -1px;
    margin-left: 12px;
  }
}

.branch-item {
  // &-icon {
  //   color: #8c8c8c;
  // }
  // .icon-protection {
  //   color: #15ad31;
  // }
  &-title {
    display: inline-block;
    max-width: 340px;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: var(--color-n2-4, #333) !important;
    &:hover {
      color: var(--color-link-3, #1b9aee) !important;
    }
  }
  .branch-name-tooltip {
    word-break: break-word;
  }
  &-update-info {
    font-size: 12px;
    color: #8c8c8c;
    line-height: 20px;
    height: 20px;
    font-weight: initial;
    max-width: 100%;
    display: block;
  }
  .protect-branch-tag {
    border-radius: 14px;
  }
  .branch-mr {
    margin-right: 12px;
    &-tag {
      cursor: pointer;
      .#{$teamix-prefix}tag-body {
        cursor: pointer;
      }
    }
  }
  .protected-branch-tag,
  .default-branch-tag {
    margin-left: 12px;
    margin-right: 0;
  }
}
.branch-delete-menu-text {
  display: inline-block;
  height: 36px;
  width: 150px;
}

.yx-list-item {
  align-items: center;
}

.branch-item-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.branch-mr-balloon {
  &-title {
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .branch-mr-balloon-branch-container {
    display: inline-flex;
    align-items: center;
    color: #8b8b8b;
    .branch-mr-balloon-branch-icon {
      margin: 3px 4px 0;
    }
    .branch-mr-balloon-branch {
      max-width: 120px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      display: inline-block;
    }
  }
}
